package com.weikuang.fareast.adapter;

import com.weikuang.fareast.R;
import com.weikuang.fareast.bean.QueryInAndOutInfoBean;

import cn.dlc.commonlibrary.ui.adapter.BaseRecyclerAdapter;


/**
 * 查询
 */
public class QueryHkAdapter extends BaseRecyclerAdapter<QueryInAndOutInfoBean.DataBean> {
    @Override
    public int getItemLayoutId(int viewType) {
        return R.layout.item_query_hk;
    }

    public QueryHkAdapter() {

    }

    @Override
    public void onBindViewHolder(CommonHolder holder, int position) {
        QueryInAndOutInfoBean.DataBean bean = getItem(position);

        holder.getText(R.id.name).setText(bean.productName);
        holder.getText(R.id.Specification).setText(bean.attribute);
        holder.getText(R.id.productType).setText(bean.productTypeName);
        holder.getText(R.id.nums).setText(bean.num+"");




    }
}
